MGS3001 Python Programming for Business, Spring 2025
Wed, 26 February 2025
This chapter discusses recursion and its use in problem solving. A visual trace of recursive calls is provided, and recursive applications are discussed. Recursive algorithms for many tasks are presented, such as finding factorials, finding a greatest common denominator (GCD), and summing a range of values in a list, and the classic Towers of Hanoi example are presented.
© 2025 Chad (Chungil Chae). All rights reserved.